COMPARE CASE$

This command will compare the two specified strings and return a value of one if they match, and a value of zero if they do not match.

  Syntax
Return Integer=COMPARE CASE$(string A, string B)
  Parameters
string A
String
The compare string A
string B
String
This value is a string value encased in speech marks.

  Returns

A value of one if the strings match, or zero otherwise

  Example Code
a$="hello"
b$="hello"
if compare case$(a$,b$)=1
print "there is a match"
else
print "there is not a match"
endif
do
loop
end
  See also

TEXT Commands Menu
Index